package com.example.demo.service.impl;

import com.example.demo.dao.ActivityDetailMapper;
import com.example.demo.model.ActivityDetail;
import com.example.demo.service.ActivityDetailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ActivityDetailServiceImpl implements ActivityDetailService {

    @Resource
    ActivityDetailMapper activityDetailMapper;

    @Override
    public void add(ActivityDetail activityDetail) {
        activityDetailMapper.insert(activityDetail);
    }
}
